﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PregledRobe.aspx.cs" Inherits="Pokusaj1.WebForm2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    </div>
     <div>
     <asp:Button ID="btnPrikazi" runat="server" Text="Prikazi" 
             onclick="btnPrikazi_Click" />
        Klijent:<asp:DropDownList ID="DdlKlijent" runat="server" DataValueField="Naziv">
        </asp:DropDownList>
        Roba:<asp:DropDownList ID="DdlRoba" runat="server" DataValueField="NazivRobe">
        </asp:DropDownList>
        Pozicija:<asp:TextBox ID="txtPozicija" runat="server"></asp:TextBox>
       
    </div>
     <div>

        <asp:GridView ID="gvPregledRobe" ClientIDMode="Static" AutoGenerateColumns="false" runat="server">
        <Columns>
        <asp:TemplateField HeaderText="Del" >
        <ItemTemplate>
        <asp:CheckBox ID="chbDel"  runat="server"/>
        </ItemTemplate>
        </asp:TemplateField>

        <asp:BoundField DataField="Naziv" HeaderText="KLIJENT" />
        <asp:BoundField DataField="NazivRobe" HeaderText="ROBA" />
        <asp:BoundField DataField="Kolicina" HeaderText="KOLICINA" />
        <asp:BoundField DataField="Koleta" HeaderText="KOMADA" />
        <asp:BoundField DataField="Pozicija" HeaderText="POZICIJA" />
        <asp:BoundField DataField="SifraRobe" HeaderText="SIFRA ROBE" />
        <asp:BoundField DataField="DatumUlaza" HeaderText="DatSkladistenja" />
        <asp:HyperLinkField Text="..." DataNavigateUrlFields="IdRobe" DataNavigateUrlFormatString="Roba.aspx?idR={0}"  />

        </Columns>
        </asp:GridView>
    
    </div>
    
    
    </form>
</body>
</html>
